package com.question.pojo.entity;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 填空
 */
@Data
public class QuestionBlanks implements Serializable {

    private Integer blankId;
    private Integer questionId;

    @NotNull(message = "空位索引不能为空")
    private Integer blankIndex;

    @NotNull(message = "参考答案不能为空")
    private String answer;

    private Integer maxLength;
}
